package com.hengtuo.student.service.base;

import java.util.Collection;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

public interface BaseService<T> {

	public T get(String id);
	
	public void add(T obj);
	
	public void update(T obj);
	
	public void delete(String id);
	
	public Collection<T> getAll();
}